Skip to content

chore(deps): bump devDependencies to latest minor/patch - #298

Merged
maaaathis merged 11 commits into
masterfrom
claude/deps-dev-minor
Oct 15, 2026
Merged

maaaathis merged 11 commits into
masterfrom
claude/deps-dev-minor

Conversation

@mfal

@mfal mfal commented Sep 4, 2026

Copy link
Copy Markdown
Member

Bumps every devDependency to the latest release within its current major. No dependencies, no peerDependencies.

Not breaking. The generated client is reformatted by the prettier bump, but the emitted types are semantically identical — see below.

Bumps

package where from to
@lerna-lite/cli, @lerna-lite/publish root ^4.9.1 ^4.11.5
@testing-library/jest-dom models ^6.9.1 ^6.10.0
@testing-library/react models ^16.3.0 ^16.3.3
@types/luxon models ^3.7.1 ^3.7.5
@types/node mittwald ^22.18.11 ^22.20.1
@types/react mittwald, models ^18.3.26 ^18.3.31
@yarnpkg/pnpify root ^4.1.6 ^4.1.7
eslint-plugin-prettier all 5 ^5.5.4 ^5.5.6
nock commons ^14.0.10 ^14.0.17
nx root ^21.6.5 ^21.6.11
prettier root + all 4 ^3.6.2 ^3.9.6
prettier-plugin-jsdoc root, commons, generator, mittwald ^1.3.3 ^1.8.1
prettier-plugin-pkgsort root, commons, generator, mittwald ^0.2.1 ^0.3.0
ts-jest commons, generator, models ^29.2.5 ^29.4.12
tsd commons ^0.31.2 ^0.33.0
tsx mittwald ^4.20.6 ^4.23.12
typescript root, commons, generator, models ^5.7.2 ^5.9.3
typescript mittwald 5.7.2 (exact) 5.9.3 (exact)

Nothing was dropped. TypeScript 5.9.3 surfaced zero new type errors across all packages.

tsx is 4.23.12, not 4.23.13. .yarnrc.yml sets npmMinimalAgeGate: 10080; 4.23.13 is 5 days old and yarn would refuse it. 4.23.12 is the highest eligible.

The exact TypeScript pin in packages/mittwald stays a pin (bumped in place). That package emits its client into src/generated/** and gates on a generation-cleanliness check — a floating range lets two developers emit different code from the same spec. The pin is load-bearing.

Three commits, deliberately separated

  1. chore(deps) — the manifest + lockfile changes alone
  2. style: reformat with prettier 3.9 — source reformat caused by the bump
  3. style: regenerate client with prettier 3.9 — the generated client, same cause

Source reformat: 4 files, 20 lines

All the same change — 3.9 hugs a type alias' union onto the assignment line when it fits instead of always breaking into leading-pipe members. Files: commons/src/types/RequestType.ts, commons/src/react/ApiCallAsyncResourceFactory.test-types.ts, generator/src/generation/model/components/SecurityScheme.ts, models/src/domain/IngressTarget/IngressTarget.ts.

Generated client: 85 insertions / 332 deletions

Same formatting change, applied to v2/types.ts and v3-next/types.ts:

-      export type AihostingDetailedModelStatus =
-        | "active"
-        | "needApproval"
-        | "deprecated";
+      export type AihostingDetailedModelStatus =
+        "active" | "needApproval" | "deprecated";

A leading | in a union is optional syntax, so every type is unchanged. Why it is in this PR: the repo's test:client-generation-clean is a bare git diff --exit-code and CI never runs build:client-prod, so this drift is invisible to the PR pipeline. Left out, the nightly update-client.yml would eventually fold a 400-line reformat into a feat: update generated client commit that nobody reviewed. Regenerated here so the diff is visible and attributable.

Two findings worth a follow-up

  1. packages/models has no format script — yarn format runs for 3 of 4 projects and silently skips it, while its lint does enforce formatting. IngressTarget.ts consequently failed yarn lint and needed eslint --fix. The missing target should be added.
  2. prettier now sits at two different ranges in packages/generator — dependencies: ^3.6.2 (out of scope for this PR, it belongs to the prod-deps line) and devDependencies: ^3.9.6. Yarn merges both and the devDependency wins, so the generator builds against 3.9.6 while publishing a ^3.6.2 constraint. That range does admit 3.9.6, so nothing is broken — but the manifest is internally inconsistent and should be reconciled when the prod-deps branch lands.

Similarly tsd is in models' dependencies at ^0.31.2 and commons' devDependencies at ^0.33.0, so two copies are installed.

Verification

yarn install, yarn format, yarn lint (4 projects), yarn nx run-many -t build --skip-nx-cache (4), test:compile --skip-nx-cache (3 + 3 deps), test --skip-nx-cache (4 + 9 deps) — all pass. Regeneration verified idempotent after the third commit.

One new non-fatal warning: ts-jest 29.4.12 emits TS151002 ("hybrid module kind is only supported in isolatedModules: true") during tests. Confirmed genuinely new by unpacking the 29.2.5 tarball — the code does not appear in it. Tests pass regardless. Silencing means isolatedModules: true in the tsconfigs or diagnostics.ignoreCodes; left alone as out of scope.

Pre-existing prettier drift in packages/*/CHANGELOG.md and packages/mittwald/README.md (~680 lines) is not part of this PR — verified unrelated by running prettier 3.6.2 against those files at HEAD, which flags them too.

🤖 Generated with Claude Code

mfal and others added 3 commits September 4, 2026 14:53
Bumps all devDependencies to the newest release within their current
major line. dependencies and peerDependencies are untouched.

Notable:
- prettier 3.6.2 -> 3.9.6 changes union type formatting; the resulting
  source reformat is in the follow-up commit.
- typescript 5.7.2 -> 5.9.3; builds and typechecks pass unchanged.
- prettier-plugin-pkgsort 0.2.1 -> 0.3.0 and tsd 0.31.2 -> 0.33.0 are
  0.x, so these minors are breaking by convention; verified via lint,
  build, test:compile and test.
- tsx is held at 4.23.12 rather than 4.23.13, which is younger than the
  npmMinimalAgeGate of one week.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Prettier 3.9 hugs a type alias' union onto the assignment line when it
fits, instead of always breaking it into leading-pipe members. Purely
mechanical output of `yarn format` plus `eslint --fix` for
packages/models, which has no format target of its own.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
The prettier bump changes how unions are wrapped in the generated types
(leading-pipe members are hugged onto the assignment line when they fit).
The emitted types are semantically identical; this only keeps the
committed client in sync with the formatter, so the nightly
update-client workflow does not fold a 400-line reformat into an
unrelated "feat: update generated client" commit.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
mfal and others added 3 commits September 22, 2026 09:21
packages/mittwald/package.json: keep master's `@mittwald/react-use-promise`
at ^4.2.3 (a major bump that landed on master and is out of scope for this
minor/patch branch) and this branch's higher `@types/node`/`@types/react`.

yarn.lock: regenerated from master's lockfile so the resolutions match the
merged manifests.

The generated client was rebuilt: master added union types that prettier
3.6 broke across lines, which prettier 3.9 hugs onto the assignment line.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
# Conflicts:
#	packages/mittwald/package.json
#	packages/mittwald/src/generated/v2/types.ts
#	packages/mittwald/src/generated/v3-next/types.ts
#	yarn.lock
The file came in from master and was formatted with the older prettier;
prettier 3.9 drops the space before the closing paren of an empty for
update clause.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mfal
mfal requested a review from maaaathis October 12, 2026 08:51

@maaaathis maaaathis left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mfal conflicts 💥

# Conflicts:
#	package.json
#	packages/commons/package.json
#	packages/generator/package.json
#	packages/mittwald/package.json
#	packages/mittwald/src/generated/v2/types.ts
#	packages/mittwald/src/generated/v3-next/types.ts
#	packages/models/package.json
#	yarn.lock
@mfal

mfal commented Oct 13, 2026

Copy link
Copy Markdown
Member Author

@maaaathis Resolved the conflicts in 078d3ba (merged master): the package.json files now take the ESLint 10 / flat config setup from #305, plus only this PR's minor/patch bumps. yarn.lock is regenerated; @yarnpkg/core stays at 4.9.1 because 4.9.2 shipped a broken patch: manifest for got. The generated client was regenerated with prettier 3.9, which is formatting only. Lint, build and tests pass locally, and CI is green.

@mfal
mfal enabled auto-merge (squash) October 14, 2026 09:31

@maaaathis maaaathis left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mfal again conflicts 💥

mfal and others added 4 commits October 14, 2026 11:40
Pulls in #310 (tsd dropped in favour of tsc --noEmit) and the latest
generated-client update. tsd is removed alongside the PR's bumps in
packages/commons; yarn.lock rebuilt from master's lockfile plus this
branch's resolutions, keeping @yarnpkg/core at 4.9.1. Generated client
regenerated from master's spec with prettier 3.9.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pulls in #303 (major dependency bumps) and the 4.497.1/4.498.0 releases.
yarn.lock rebuilt from master's lockfile plus this branch's resolutions,
keeping @yarnpkg/core at 4.9.1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pulls in #302 (devDependencies across majors) and the 4.498.1 release.
Conflicting version ranges resolved per package to the higher one: master's
major bumps (jest 30, rimraf 6, nx 23, lerna-lite 5, ...) win, this
branch's minor/patch bumps stay where master did not touch them.

yarn.lock rebuilt from master's lockfile plus this branch's resolutions,
keeping @yarnpkg/core at 4.9.1; ts-jest ^29.4.12 points at master's 29.4.14.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pulls in the latest generated-client update. Spec and generated types
taken from master and regenerated with prettier 3.9.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mfal
mfal requested a review from maaaathis October 15, 2026 10:34
maaaathis

This comment was marked as outdated.

@maaaathis
maaaathis disabled auto-merge October 15, 2026 12:11
@maaaathis
maaaathis merged commit 80ff7e2 into master Oct 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants